<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>过滤器</title>
</head>
<body>
<div>{{user.username}}-{{user.username|length}}</div>
此时此刻时间是：{{mytime|dformat}}
</body>
</html>